package group.newsReader.Service;

import group.newsReader.Pojo.History;
import group.newsReader.Pojo.News;

import java.util.List;

public interface NewsService {
    List<News> recommend();
    String insertNews(News news);
    News news(int id);

    List<History> history();

    void addHistory(int id, String title);

    void deleteHistory(int id);

    void saveNews();

    List<News> getNews();

    void vector();
}
